<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>

<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/WEB-INF/views/include/taglib.jsp" %>
<c:set var="tabmode" value="${empty cookie.tabmode.value ? '1' : cookie.tabmode.value}"/>
<html>
<head>
    <title>潜在客户详细信息${vo.corporationName}</title>
    <meta name="decorator" content="default"/>
    <style type="text/css">
    	#editForm input {margin-bottom: 0px;}
    </style>
</head>
<body>
<div style="padding-bottom: 10px;">
	<sys:message content="${message}" onMessage="false"/>
	<div style="padding: 5px 0px 10px 0px;display: inline-block;vertical-align: bottom;">
		<h5 style="display: inline-block;">基本信息</h5>
		<a href="${ctx }/customer/potentialCustomer/detailBasicForm?id=${vo.id}&flag=${vo.flag}" title="修改信息"><i class="icon icon-edit"></i></a>
	</div>
	<table class="table table-striped table-bordered table-condensed">
		<tbody>
			<tr>
				<td class="label_td" width="12%">公司名称:</td>
				<td class="text_td" width="38%">${vo.corporationName}</td>
				<td class="label_td" width="12%">一级来源:</td>
				<td class="text_td" width="38%">${vo.source}</td>
			</tr>
			<tr>
				<td class="label_td">公司域名:</td>
				<td class="text_td"> <a href="http://${vo.corporationUrl}" target="_blank">${vo.corporationUrl}</a></td>
				<td class="label_td">二级来源:</td>
				<td class="text_td">${vo.sourceDesc}</td>
			</tr>
			<tr>
				<td class="label_td">联系人:</td>
				<td class="text_td">${vo.contactorName}</td>
				<td class="label_td">来源:</td>
				<td class="text_td">${fns:getDictLabel(vo.mobileOrPc, "POTENTIAL_SOURCE","")}</td>
			</tr>
			<tr>
				<td class="label_td">手机号:</td>
				<td class="text_td"><a class="call" href="javascript:void(0);">${vo.mobile}</a></td>
				<td class="label_td">性别:</td>
				<td class="text_td">${fns:getDictLabel(vo.contactorSex, 'sex', '')}</td>
			</tr>
			<tr>
				<td class="label_td">备用电话:</td>
				<td class="text_td"><a class="call" href="javascript:void(0);">${vo.backupTelephone}</a></td>
				<td class="label_td">联系人职务:</td>
				<td class="text_td">${vo.contactorPosition}</td>
			</tr>
			<tr>
				<td class="label_td">固定电话:</td>
				<td class="text_td"><a class="call" href="javascript:void(0);">${vo.telephone}</a></td>
				<td class="label_td">客户特点:</td>
				<td class="text_td">${fns:getCustomerFeature(vo.customerFeatureId).name}</td>
			</tr>
			<tr>
				<td class="label_td">邮箱:</td>
				<td class="text_td">${vo.email}</td>
				<td class="label_td">客户类型:</td>
				<td class="text_td">${fns:getCustomerType(vo.customerTypeId).name}</td>
			</tr>
			<tr>
				<td class="label_td">省份:</td>
				<td class="text_td">${fns:getRegion(vo.provinceId).regionName}</td>
				<td class="label_td">意向产品:</td>
				<td class="text_td">${fns:getProductType(vo.targetProducts).productTypeName}</td>
			</tr>
			<tr>
				<td class="label_td">QQ:</td>
				<td class="text_td">${vo.contactorQq}</td>
				<td class="label_td">微信:</td>
				<td class="text_td">${vo.contactorWechat}</td>
			</tr>
			<tr>
				<td class="label_td">行业:</td>
				<td class="text_td ">${vo.industry}</td>
                <td class="label_td">权重:</td>
                <td class="text_td">
                    ${vo.weight}
                </td>
			</tr>
		</tbody>
	</table>
	<div style="padding: 5px 0px 10px 0px;"><h5>补充信息</h5></div>
	<table class="table table-striped table-bordered table-condensed table-hover">
		<tbody>
			<tr>
				<td class="label_td" width="12%">公司规模:</td>
				<td class="text_td" width="38%">${vo.corporationScale}</td>
				<td class="label_td" width="12%">成立时间:</td>
				<td class="text_td" width="38%"><fmt:formatDate	value="${vo.corporationCreateDate}" pattern="yyyy-MM-dd" /></td>
			</tr>
			<tr>
				<td class="label_td">法人姓名:</td>
				<td class="text_td">${vo.corporationCorporateName}</td>
				<td class="label_td">法人性别:</td>
				<td class="text_td">${fns:getDictLabel(vo.corporationCorporateSex, 'sex', '')}</td>
			</tr>
			<tr>
				<td class="label_td">经营模式:</td>
				<td class="text_td">${vo.corporationBusinessModel}</td>
				<td class="label_td">公司传真:</td>
				<td class="text_td">${vo.corporationFax}</td>
			</tr>
			<tr>
				<td class="label_td">员工人数:</td>
				<td class="text_td">${vo.corporationStaffNum}</td>
				<td class="label_td">质量体系:</td>
				<td class="text_td">${vo.corporationQualitySystem}</td>
			</tr>
			<tr>
				<td class="label_td">注册资金:</td>
				<td class="text_td">${vo.corporationRegisterFunds}</td>
				<td class="label_td">企业类型:</td>
				<td class="text_td">${vo.corporationEnterpriseType}</td>
			</tr>
			<tr>
				<td class="label_td">注册地址:</td>
				<td class="text_td">${vo.corporationRegisterAddress}</td>
				<td class="label_td">公司介绍:</td>
				<td class="text_td">${vo.corporationIntroduction}</td>
			</tr>
		</tbody>
	</table>
</div>
<script type="text/javascript">
	$(function(){
		$(".basic-area",window.parent.document).css("height",document.body.clientHeight);
		$(".call").live("click",function(){
			makeCall($(this).text(),{customerId:'${vo.id}'});
		});
	});
</script>
</body>
</html>